package cn.q3c.stock.object;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

/**
 * 股票基本信息
 * @author Yoyo
 *
 */
public class Stock {

	public static final int SC_SHANGHAI = 1;
	public static final int SC_SHENZHEN = 2;

	public int getSctype() {
		return sctype;
	}

	public void setSctype(int sctype) {
		this.sctype = sctype;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	// 1上海 2深圳
	private int sctype;
	// 股票代码
	private String code;
	// 股票名称
	private String name;

	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}

}
